package com.wjw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
*@author WuJianWei
*@date 2022/2/28 20:00
*/
@Data
@TableName(value = "product_picture")
public class ProductPicture implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField(value = "product_id")
    private Integer productId;

    @TableField(value = "product_picture")
    private String productPicture;

    @TableField(value = "introduction")
    private String introduction;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_PRODUCT_ID = "product_id";

    public static final String COL_PRODUCT_PICTURE = "product_picture";

    public static final String COL_INTRODUCTION = "introduction";
}